package com.yh.bean;
/*
 * 
 * 权限
 */
public class Permission {
	private int per_id;			//权限主键id
	private String per_name;	//权限名称
	

	private int per_roleid;




	public int getPer_roleid() {
		return per_roleid;
	}

	public void setPer_roleid(int per_roleid) {
		this.per_roleid = per_roleid;
	}


	private Role role;			//角色

	public int getPer_id() {
		return per_id;
	}

	public void setPer_id(int per_id) {
		this.per_id = per_id;
	}

	public String getPer_name() {
		return per_name;
	}

	public void setPer_name(String per_name) {
		this.per_name = per_name;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	@Override
	public String toString() {
		return "Permission [per_id=" + per_id + ", per_name=" + per_name
				+ ", role=" + role + "]";
	}
	
	

	
	
	
	
}
